package com.anjufang.service.system;

import com.anjufang.entity.AdminUser;
import com.anjufang.utils.page.Query;

import java.util.List;


public interface AdminUserService {
	
	List<AdminUser> queryList(Query query);
	
	int queryTotal(Query query);
	
	AdminUser getAdminUser(Long id);
	
	AdminUser info(Long userId);
	
	int selectCountByUserName(AdminUser user);
	/**
	 * 保存用户
	 */
	void save(AdminUser user);
	
	/**
	 * 修改用户
	 */
	void update(AdminUser user);
	
}
